.class Lcom/example/m6wmr/MarketActivity$1$1;
.super Ljava/lang/Object;
.source "MarketActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MarketActivity$1;->handleMessage(Landroid/os/Message;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/MarketActivity$1;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MarketActivity$1;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    .line 182
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 6
    .param p2, "arg1"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 185
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 204
    :goto_0
    return-void

    .line 189
    :cond_0
    const-string v3, "marketshoptype"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getShoptype()Ljava/lang/String;

    move-result-object v2

    invoke-static {v3, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 192
    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$4(Lcom/example/m6wmr/MarketActivity;)Landroid/content/Context;

    move-result-object v2

    const-class v3, Lcom/example/m6wmr/ShopMarketDishesActivity;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 193
    .local v0, "intent":Landroid/content/Intent;
    const-string v3, "shopid"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getShopId()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 194
    const-string v3, "shopname"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getShopName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 195
    const-string v3, "shoptype"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getShoptype()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 196
    const-string v3, "xiuxi"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v4, p3, -0x1

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getOpenType()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 197
    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    const-string v3, "pscost"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Lcom/example/m6wmr/MarketActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 198
    .local v1, "userInfo":Landroid/content/SharedPreferences;
    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v3

    const-string v4, "ps"

    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    # getter for: Lcom/example/m6wmr/MarketActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity;->access$5(Lcom/example/m6wmr/MarketActivity;)Ljava/util/List;

    move-result-object v2

    add-int/lit8 v5, p3, -0x1

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getpscost()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v3, v4, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v2

    invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 200
    iget-object v2, p0, Lcom/example/m6wmr/MarketActivity$1$1;->this$1:Lcom/example/m6wmr/MarketActivity$1;

    # getter for: Lcom/example/m6wmr/MarketActivity$1;->this$0:Lcom/example/m6wmr/MarketActivity;
    invoke-static {v2}, Lcom/example/m6wmr/MarketActivity$1;->access$0(Lcom/example/m6wmr/MarketActivity$1;)Lcom/example/m6wmr/MarketActivity;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/example/m6wmr/MarketActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0
.end method
